<!DOCTYPE html>
<html>
<head>
	<meta charset="UTF-8">
	<title>格式化数字框 - jQuery EasyUI 演示</title>
	<meta name="viewport" content="initial-scale=1.0, maximum-scale=1.0, user-scalable=0">
	<link rel="stylesheet" type="text/css" href="../../themes/default/easyui.css">
	<link rel="stylesheet" type="text/css" href="../../themes/icon.css">
	<link rel="stylesheet" type="text/css" href="../demo.css">
	<script type="text/javascript" src="../../jquery.min.js"></script>
	<script type="text/javascript" src="../../jquery.easyui.min.js"></script>
</head>
<body>
	<h2 title="Format NumberBox">格式化数字框</h2>
	<p title="Number formatting is the ability to control how a number is displayed.">　　数字的格式化是种控制某个数字如何被显示出来的能力。</p>
	<div class="easyui-panel" style="width:100%;max-width:200px;padding:10px 20px 0 20px;">
		<div style="margin-bottom:10px">
			<input class="easyui-numberbox" value="1234567.89" data-options="label:'<c>美式数字 <h onclick=\'alert(title)\' title=\'Number in the United States\&\#13;逗号千分位\'>*</h></c>',labelPosition:'top',precision:2,groupSeparator:',',width:'100%'">
		</div>
		<div style="margin-bottom:10px">
			<input class="easyui-numberbox" value="1234567.89" data-options="label:'<c>法式数字 <h onclick=\'alert(title)\' title=\'Number in France\&\#13;空格千分位\'>*</h></c>',labelPosition:'top',precision:2,groupSeparator:' ',decimalSeparator:',',width:'100%'">
		</div>
		<div style="margin-bottom:10px">
			<input class="easyui-numberbox" value="1234567.89" data-options="label:'<c>货币：美元 <h onclick=\'alert(title)\' title=\'Currency:USD\'>*</h></c>',labelPosition:'top',precision:2,groupSeparator:',',decimalSeparator:'.',prefix:'$',width:'100%'">
		</div>
		<div style="margin-bottom:10px">
			<input class="easyui-numberbox" value="1234567.89" data-options="label:'<c>货币：欧元.p <h onclick=\'alert(title)\' title=\'Currency:EUR\&\#13;前缀币符，逗号千分位\'>*</h></c>',labelPosition:'top',precision:2,groupSeparator:',',decimalSeparator:' ',prefix:'€',width:'100%'">
		</div>
		<div style="margin-bottom:10px">
			<input class="easyui-numberbox" value="1234567.89" data-options="label:'<c>货币：欧元.s <h onclick=\'alert(title)\' title=\'Currency:EUR\&\#13;空格千分位，后缀币符\'>*</h></c>',labelPosition:'top',precision:2,groupSeparator:' ',decimalSeparator:',',suffix:'€',width:'100%'">
		</div>
	</div>
</body>
</html>